﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009DB RID: 2523
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KHIIKMDCABJ : IMessage<KHIIKMDCABJ>, IMessage, IEquatable<KHIIKMDCABJ>, IDeepCloneable<KHIIKMDCABJ>, IBufferMessage
	{
		// Token: 0x17001FED RID: 8173
		// (get) Token: 0x06007126 RID: 28966 RVA: 0x0012ED0D File Offset: 0x0012CF0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KHIIKMDCABJ> Parser
		{
			get
			{
				return KHIIKMDCABJ._parser;
			}
		}

		// Token: 0x17001FEE RID: 8174
		// (get) Token: 0x06007127 RID: 28967 RVA: 0x0012ED14 File Offset: 0x0012CF14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KHIIKMDCABJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FEF RID: 8175
		// (get) Token: 0x06007128 RID: 28968 RVA: 0x0012ED26 File Offset: 0x0012CF26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KHIIKMDCABJ.Descriptor;
			}
		}

		// Token: 0x06007129 RID: 28969 RVA: 0x0012ED2D File Offset: 0x0012CF2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KHIIKMDCABJ()
		{
		}

		// Token: 0x0600712A RID: 28970 RVA: 0x0012ED35 File Offset: 0x0012CF35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KHIIKMDCABJ(KHIIKMDCABJ other) : this()
		{
			this.level_ = other.level_;
			this.iAHEKFKNFCD_ = other.iAHEKFKNFCD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600712B RID: 28971 RVA: 0x0012ED66 File Offset: 0x0012CF66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KHIIKMDCABJ Clone()
		{
			return new KHIIKMDCABJ(this);
		}

		// Token: 0x17001FF0 RID: 8176
		// (get) Token: 0x0600712C RID: 28972 RVA: 0x0012ED6E File Offset: 0x0012CF6E
		// (set) Token: 0x0600712D RID: 28973 RVA: 0x0012ED76 File Offset: 0x0012CF76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17001FF1 RID: 8177
		// (get) Token: 0x0600712E RID: 28974 RVA: 0x0012ED7F File Offset: 0x0012CF7F
		// (set) Token: 0x0600712F RID: 28975 RVA: 0x0012ED87 File Offset: 0x0012CF87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HOCJJLOCEHN IAHEKFKNFCD
		{
			get
			{
				return this.iAHEKFKNFCD_;
			}
			set
			{
				this.iAHEKFKNFCD_ = value;
			}
		}

		// Token: 0x06007130 RID: 28976 RVA: 0x0012ED90 File Offset: 0x0012CF90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KHIIKMDCABJ);
		}

		// Token: 0x06007131 RID: 28977 RVA: 0x0012ED9E File Offset: 0x0012CF9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KHIIKMDCABJ other)
		{
			return other != null && (other == this || (this.Level == other.Level && this.IAHEKFKNFCD == other.IAHEKFKNFCD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007132 RID: 28978 RVA: 0x0012EDDC File Offset: 0x0012CFDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.IAHEKFKNFCD != HOCJJLOCEHN.TrainPartyMtCategoryNone)
			{
				num ^= this.IAHEKFKNFCD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007133 RID: 28979 RVA: 0x0012EE3A File Offset: 0x0012D03A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007134 RID: 28980 RVA: 0x0012EE42 File Offset: 0x0012D042
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007135 RID: 28981 RVA: 0x0012EE4C File Offset: 0x0012D04C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Level != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Level);
			}
			if (this.IAHEKFKNFCD != HOCJJLOCEHN.TrainPartyMtCategoryNone)
			{
				output.WriteRawTag(120);
				output.WriteEnum((int)this.IAHEKFKNFCD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007136 RID: 28982 RVA: 0x0012EEA8 File Offset: 0x0012D0A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.IAHEKFKNFCD != HOCJJLOCEHN.TrainPartyMtCategoryNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.IAHEKFKNFCD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007137 RID: 28983 RVA: 0x0012EF00 File Offset: 0x0012D100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KHIIKMDCABJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.IAHEKFKNFCD != HOCJJLOCEHN.TrainPartyMtCategoryNone)
			{
				this.IAHEKFKNFCD = other.IAHEKFKNFCD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007138 RID: 28984 RVA: 0x0012EF50 File Offset: 0x0012D150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007139 RID: 28985 RVA: 0x0012EF5C File Offset: 0x0012D15C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IAHEKFKNFCD = (HOCJJLOCEHN)input.ReadEnum();
					}
				}
				else
				{
					this.Level = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002B27 RID: 11047
		private static readonly MessageParser<KHIIKMDCABJ> _parser = new MessageParser<KHIIKMDCABJ>(() => new KHIIKMDCABJ());

		// Token: 0x04002B28 RID: 11048
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002B29 RID: 11049
		public const int LevelFieldNumber = 2;

		// Token: 0x04002B2A RID: 11050
		private uint level_;

		// Token: 0x04002B2B RID: 11051
		public const int IAHEKFKNFCDFieldNumber = 15;

		// Token: 0x04002B2C RID: 11052
		private HOCJJLOCEHN iAHEKFKNFCD_;
	}
}
